package com.gimi.cloud.bbp.manage.controller.log;

import javax.servlet.http.HttpServletResponse;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import com.gimi.cloud.bbp.common.enums.ResponseCodeEnum;
import com.gimi.cloud.bbp.common.utils.reqhead.Response;
import com.gimi.cloud.bbp.dto.log.LogJPushDTO;
import com.gimi.cloud.bbp.manage.service.log.LogJPushService;

@RestController
@RequestMapping("/log/jpush")
public class LogJPushController {
	
	@Autowired private LogJPushService service;
	
	@RequestMapping("/getLogJPushList")
	public Response getLogJPushList(@RequestBody LogJPushDTO dto, HttpServletResponse response) {
		return new Response(ResponseCodeEnum.SUCCESSED,service.getLogJPushList(dto));
	}

}
